using System;
using System.Collections.Generic;
using FM_Mono;
using UnityEngine;

[IgnoreGen]
public class CoroutineProvider : MonoBehaviour
{
    private static CoroutineProvider _instance = null;
    [AcquireOnce]
    public static CoroutineProvider instance
    {
        get
        {
            if(_instance == null)
            {
                GameObject go = new GameObject("CoroutineProvider");
                DontDestroyOnLoad(go);
                _instance = go.AddComponent<CoroutineProvider>();
            }
            return _instance;
        }
    }
}